package com.flaskpy.web.eternity.auth.jwt.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "eternity.auth", ignoreUnknownFields = true)
public class JwtConfigProperties {
    private String secret="abcksdfjdsfisdfjHOHw98804HJHHH";          //jwt签名密钥
    private Integer renewalTime=60;        //会话续约时间(秒)
    private Integer jwtExpireTime=300;        //jwt过期时间(<=0永久)
}

